package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_fil_config")
public class SysFilConfig implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;

	/**
	 * 总产出率
	 */
	private BigDecimal totalScales;

	/**
	 * 矿池总算力/T
	 */
	private Integer totalPoolFil;

	/**
	 * 挖矿立即释放比例
	 */
	private BigDecimal immediatelyReleaseScales;

	/**
	 * 线性释放/天
	 */
	private Integer linearReleaseDays;

	/**
	 * 每笔产出服务费比例
	 */
	private BigDecimal perOutFee;

	/**
	 * 配置状态 0-停用 1-启用
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

}
